package com.sm.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sm.tool.entity.dto.UserDTO;
import com.sm.tool.entity.po.User_;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRegLoginMapper extends BaseMapper<User_> {
    int checkUserName(String userName);

    User_ selectUser(String userName);

    UserDTO getUserDTOInfoByUserName(String name);

    IPage<User_> selectUserList(Page page);

    void updateUserRecharge(Long userId);
}
